<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('修改流程处理单元')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-projectFlowParam-edit" th:object="${projectFlowParam}">
            <input id="flowId" name="flowId" th:field="*{flowId}"  type="hidden">
			<input id="projectId" name="projectId" th:field="*{projectId}"  type="hidden">
			<div class="form-group">
				<label class="col-sm-3 control-label">CODcr：</label>
				<div class="col-sm-8">
					<input id="flowCodcr" name="flowCodcr" th:field="*{flowCodcr}" class="form-control" type="text" maxlength="4">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">NH4-N：</label>
				<div class="col-sm-8">
					<input id="flowNh4N" name="flowNh4N" th:field="*{flowNh4N}" class="form-control" type="text" maxlength="3">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">S：</label>
				<div class="col-sm-8">
					<input id="flowS" name="flowS" th:field="*{flowS}" class="form-control" type="text" maxlength="5">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">温度：</label>
				<div class="col-sm-8">
					<input id="flowTp" name="flowTp" th:field="*{flowTp}" class="form-control" type="text" maxlength="2">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">pH：</label>
				<div class="col-sm-8">
					<input id="flowPh" name="flowPh" th:field="*{flowPh}" class="form-control" type="text" maxlength="3">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">容积：</label>
				<div class="col-sm-8">
					<input id="flowVol" name="flowVol" th:field="*{flowVol}" class="form-control" type="text" maxlength="5">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "project/projectFlowParam";
		$("#form-projectFlowParam-edit").validate({
			focusCleanup: true
		});
		
		function submitHandler() {
		  if ($.validate.form()) {
			  $.operate.save(prefix + "/edit", $('#form-projectFlowParam-edit').serialize());
		  }
    	}
	</script>
</body>
</html>
